
using AutoMapper;
using JYJ.AiYard.StationManagement.TbYardBlackLists;
using JYJ.AiYard.StationManagement.TbYardBlackLists.Dtos;

namespace JYJ.AiYard.StationManagement.TbYardBlackLists.Mapper
{

	/// <summary>
    /// 配置TbYardBlackList的AutoMapper
    /// </summary>
	internal static class TbYardBlackListMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbYardBlackList,TbYardBlackListListDto>();
            configuration.CreateMap <TbYardBlackListListDto,TbYardBlackList>();

            configuration.CreateMap <TbYardBlackListEditDto,TbYardBlackList>();
            configuration.CreateMap <TbYardBlackList,TbYardBlackListEditDto>();

            configuration.CreateMap<TbYardBlackListVML, TbYardBlackListListDto>();
            configuration.CreateMap<TbYardBlackListListDto, TbYardBlackListVML>();

        }
	}
}
